package com.github.littleantfly.dictionary.service;

import com.github.littleantfly.dictionary.module.DictModel;

import java.util.Optional;

/**
 *
 * @author xiezhenglong
 */
public interface DictService {
    /**
     * 获取字典数据
     * @param key
     * @param fieldValue
     * @return
     */
    Optional<DictModel> getDictData(String key, Object fieldValue);
}
